home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 36
/
Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso
/
-seriously_amiga-
/
misc
/
megabook
/
storage
/
sendemail
/
yam2.mbrx
< prev
next >
Wrap
Text File
|
1998-12-12
|
821b
|
41 lines
/*
** YAM 2 SendEMail Script v1.0 by Steve Clack (for MegaBook 4+)
**
** ©1998 Liquid Software Design
**
** steeevc@ndirect.co.uk - http://www.ndirect.co.uk/~mattw/steve
**
** This is the script run when the Send EMail option is selected from the
** Extras menu.
*/
/*
This is the path and executable for YAM, *should* be the same on every
machine because it needs the assign, but if you have renamed the YAM
executable then change it on the next line.
*/
YAMPATH = "YAM:YAM"
parse arg Address
/* Check if YAM is running, if not then run it */
if ~show('P', 'YAM') then do
address command
'Run >nil: ' YAMPATH
/* Wait for the ARexx port to open */
do 5 while ~show('P', 'YAM')
'Sys:rexxc/waitforport YAM'
end
end
address 'YAM'
options results
MAILWRITE
WRITETO '"'Address'"'